package com.example.hello.controller;

import com.example.hello.common.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @GetMapping("/hello")
    public Result hello() {
        return Result.success("Hello, World!");
    }
} 